
/*
 * Copyright (c) 2003-2011 Chelsio, Inc. All rights reserved.
 *
 * This software is available to you under a choice of one of two
 * licenses.  You may choose to be licensed under the terms of the GNU
 * General Public License (GPL) Version 2, available from the file
 * COPYING in the main directory of this source tree, or the
 * OpenIB.org BSD license below:
 *
 *     Redistribution and use in source and binary forms, with or
 *     without modification, are permitted provided that the following
 *     conditions are met:
 *
 *      - Redistributions of source code must retain the above
 *        copyright notice, this list of conditions and the following
 *        disclaimer.
 *
 *      - Redistributions in binary form must reproduce the above
 *        copyright notice, this list of conditions and the following
 *        disclaimer in the documentation and/or other materials
 *        provided with the distribution.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

/*
 * dump of firmware files generated using:
 *	hexdump -v -e '"\t" 16/1 "0x%02x, " "\n"'
*/

/* contents of ael2005_opt_edc.bin */
/* from microInit_mdio_SR_AEL2005C_16.txt */
static u8 ael2005_opt_edc_data[] = {
	0xcc, 0x00, 0x2f, 0xf4, 0xcc, 0x01, 0x3c, 0xd4, 0xcc, 0x02, 0x20, 0x15, 0xcc, 0x03, 0x31, 0x05,
	0xcc, 0x04, 0x65, 0x24, 0xcc, 0x05, 0x27, 0xff, 0xcc, 0x06, 0x30, 0x0f, 0xcc, 0x07, 0x2c, 0x8b,
	0xcc, 0x08, 0x30, 0x0b, 0xcc, 0x09, 0x40, 0x09, 0xcc, 0x0a, 0x40, 0x0e, 0xcc, 0x0b, 0x2f, 0x72,
	0xcc, 0x0c, 0x30, 0x02, 0xcc, 0x0d, 0x10, 0x02, 0xcc, 0x0e, 0x21, 0x72, 0xcc, 0x0f, 0x30, 0x12,
	0xcc, 0x10, 0x10, 0x02, 0xcc, 0x11, 0x25, 0xd2, 0xcc, 0x12, 0x30, 0x12, 0xcc, 0x13, 0x10, 0x02,
	0xcc, 0x14, 0xd0, 0x1e, 0xcc, 0x15, 0x27, 0xd2, 0xcc, 0x16, 0x30, 0x12, 0xcc, 0x17, 0x10, 0x02,
	0xcc, 0x18, 0x20, 0x04, 0xcc, 0x19, 0x3c, 0x84, 0xcc, 0x1a, 0x64, 0x36, 0xcc, 0x1b, 0x20, 0x07,
	0xcc, 0x1c, 0x3f, 0x87, 0xcc, 0x1d, 0x86, 0x76, 0xcc, 0x1e, 0x40, 0xb7, 0xcc, 0x1f, 0xa7, 0x46,
	0xcc, 0x20, 0x40, 0x47, 0xcc, 0x21, 0x56, 0x73, 0xcc, 0x22, 0x29, 0x82, 0xcc, 0x23, 0x30, 0x02,
	0xcc, 0x24, 0x13, 0xd2, 0xcc, 0x25, 0x8b, 0xbd, 0xcc, 0x26, 0x28, 0x62, 0xcc, 0x27, 0x30, 0x12,
	0xcc, 0x28, 0x10, 0x02, 0xcc, 0x29, 0x20, 0x92, 0xcc, 0x2a, 0x30, 0x12, 0xcc, 0x2b, 0x10, 0x02,
	0xcc, 0x2c, 0x5c, 0xc3, 0xcc, 0x2d, 0x03, 0x14, 0xcc, 0x2e, 0x29, 0x42, 0xcc, 0x2f, 0x30, 0x02,
	0xcc, 0x30, 0x10, 0x02, 0xcc, 0x31, 0xd0, 0x19, 0xcc, 0x32, 0x20, 0x32, 0xcc, 0x33, 0x30, 0x12,
	0xcc, 0x34, 0x10, 0x02, 0xcc, 0x35, 0x2a, 0x04, 0xcc, 0x36, 0x3c, 0x74, 0xcc, 0x37, 0x64, 0x35,
	0xcc, 0x38, 0x2f, 0xa4, 0xcc, 0x39,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0x00,
	0xcc, 0xf0, 0xc6, 0x2c, 0xcc, 0xf1, 0x00, 0x00, 0xcc, 0xf2, 0x00, 0x00, 0xcc, 0xf3, 0x28, 0x06,
	0xcc, 0xf4, 0x3c, 0xb6, 0xcc, 0xf5, 0xc1, 0x61, 0xcc, 0xf6, 0x61, 0x34, 0xcc, 0xf7, 0x61, 0x35,
	0xcc, 0xf8, 0x54, 0x43, 0xcc, 0xf9, 0x03, 0x03, 0xcc, 0xfa, 0x65, 0x24, 0xcc, 0xfb, 0x00, 0x0b,
	0xcc, 0xfc, 0x10, 0x02, 0xcc, 0xfd, 0x21, 0x04, 0xcc, 0xfe, 0x3c, 0x24, 0xcc, 0xff, 0x21, 0x05,
	0xcd, 0x00, 0x38, 0x05, 0xcd, 0x01, 0x65, 0x24, 0xcd, 0x02, 0xdf, 0xf4, 0xcd, 0x03, 0x40, 0x05,
	0xcd, 0x04, 0x65, 0x24, 0xcd, 0x05, 0x10, 0x02, 0xcd, 0x06, 0x5d, 0xd3, 0xcd, 0x07, 0x03, 0x06,
	0xcd, 0x08, 0x2f, 0xf7, 0xcd, 0x09, 0x38, 0xf7, 0xcd, 0x0a, 0x60, 0xb7, 0xcd, 0x0b, 0xdf, 0xfd,
	0xcd, 0x0c, 0x00, 0x0a, 0xcd, 0x0d, 0x10, 0x02, 0xcd, 0x0e, 0x00, 0x00, 0x7c, 0xc7, 0xae, 0x59
};


/* contents of ael2005_twx_edc.bin */
/* from microInit_mdio_TWINAX_AEL2005C_20.txt */
static u8 ael2005_twx_edc_data[] = {
	0xcc, 0x00, 0x40, 0x09, 0xcc, 0x01, 0x27, 0xff, 0xcc, 0x02, 0x30, 0x0f, 0xcc, 0x03, 0x40, 0xaa,
	0xcc, 0x04, 0x40, 0x1c, 0xcc, 0x05, 0x40, 0x1e, 0xcc, 0x06, 0x2f, 0xf4, 0xcc, 0x07, 0x3c, 0xd4,
	0xcc, 0x08, 0x20, 0x35, 0xcc, 0x09, 0x31, 0x45, 0xcc, 0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02, 0xcd, 0x4a, 0x25, 0x14, 0xcd, 0x4b, 0x3c, 0x64,
	0xcd, 0x4c, 0x64, 0x36, 0xcd, 0x4d, 0xdf, 0xf4, 0xcd, 0x4e, 0x64, 0x36, 0xcd, 0x4f, 0x10, 0x02,
	0xcd, 0x50, 0x28, 0x06, 0xcd, 0x51, 0x3c, 0xb6, 0xcd, 0x52, 0xc1, 0x61, 0xcd, 0x53, 0x61, 0x34,
	0xcd, 0x54, 0x61, 0x35, 0xcd, 0x55, 0x54, 0x43, 0xcd, 0x56, 0x03, 0x03, 0xcd, 0x57, 0x65, 0x24,
	0xcd, 0x58, 0x00, 0x0b, 0xcd, 0x59, 0x10, 0x02, 0xcd, 0x5a, 0xd0, 0x19, 0xcd, 0x5b, 0x21, 0x04,
	0xcd, 0x5c, 0x3c, 0x24, 0xcd, 0x5d, 0x21, 0x05, 0xcd, 0x5e, 0x38, 0x05, 0xcd, 0x5f, 0x65, 0x24,
	0xcd, 0x60, 0xdf, 0xf4, 0xcd, 0x61, 0x40, 0x05, 0xcd, 0x62, 0x65, 0x24, 0xcd, 0x63, 0x2e, 0x8d,
	0xcd, 0x64, 0x30, 0x3d, 0xcd, 0x65, 0x5d, 0xd3, 0xcd, 0x66, 0x03, 0x06, 0xcd, 0x67, 0x2f, 0xf7,
	0xcd, 0x68, 0x38, 0xf7, 0xcd, 0x69, 0x60, 0xb7, 0xcd, 0x6a, 0xdf, 0xfd, 0xcd, 0x6b, 0x00, 0x0a,
	0xcd, 0x6c, 0x10, 0x02, 0xcd, 0x6d, 0x00, 0x00, 0x52, 0xa7, 0x6b, 0x0e };


/* contents of ael2020_twx_edc.bin */
/* from microInit_mdio_TWINAX_AEL2020C_10.txt */
static u8 ael2020_twx_edc_data[] = {
	0xd8, 0x00, 0x40, 0x09, 0xd8, 0x01, 0x2f, 0xff, 0xd8, 0x02, 0x30, 0x0f, 0xd8, 0x03, 0x40, 0xaa,
	0xd8, 0x04, 0x40, 0x1c, 0xd8, 0x05, 0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f, 0xf7, 0xd9, 0xa1, 0x30, 0x07, 0xd9, 0xa2, 0x87, 0x85, 0xd9, 0xa3, 0xb8, 0x87,
	0xd9, 0xa4, 0x87, 0x86, 0xd9, 0xa5, 0xb8, 0xc6, 0xd9, 0xa6, 0x5a, 0x53, 0xd9, 0xa7, 0x29, 0xb2,
	0xd9, 0xa8, 0x30, 0x22, 0xd9, 0xa9, 0x13, 0xc2, 0xd9, 0xaa, 0x24, 0x74, 0xd9, 0xab, 0x3c, 0x84,
	0xd9, 0xac, 0x64, 0xd7, 0xd9, 0xad, 0x64, 0xd7, 0xd9, 0xae, 0x2f, 0xf5, 0xd9, 0xaf, 0x3c, 0x05,
	0xd9, 0xb0, 0x87, 0x57, 0xd9, 0xb1, 0xb8, 0x86, 0xd9, 0xb2, 0x97, 0x67, 0xd9, 0xb3, 0x67, 0xc4,
	0xd9, 0xb4, 0x6f, 0x72, 0xd9, 0xb5, 0x10, 0x02, 0xd9, 0xb6, 0x00, 0x00, 0x1f, 0xea, 0x7e, 0x84
};

struct t3_firmware_map {
	char		name[128];
	u8		*data;	
	int		size;
	struct firmware	*fw;
};

/* this matches up the firmware names with the raw data files */
static struct t3_firmware_map fw_map[] = {
	{ "ael2005_opt_edc.bin", ael2005_opt_edc_data, sizeof(ael2005_opt_edc_data), NULL},
	{ "ael2005_twx_edc.bin", ael2005_twx_edc_data, sizeof(ael2005_twx_edc_data), NULL },
	{ "ael2020_twx_edc.bin", ael2020_twx_edc_data, sizeof(ael2020_twx_edc_data), NULL },
};

static inline int t3_local_firmware_free(const struct firmware *firmware)
{
	int i;

	for (i=0; i < (sizeof(fw_map) / sizeof(struct t3_firmware_map)); i++)
		if (fw_map[i].fw == firmware) {
			kfree(firmware);
			fw_map[i].fw = NULL;
			return 0;
		}
	return -ENODEV;
}

/* one function to pass the data out when a filename is requested */
static inline int t3_local_firmware_load(const struct firmware **firmware, const char *name)
{
	int i; 
	struct firmware *fw;
	struct t3_firmware_map *t3fw_entry = NULL;

	/* check to see if we've got that entry in our table */
	for (i=0; i < (sizeof(fw_map) / sizeof(struct t3_firmware_map)); i++) {
		if (strstr(name, fw_map[i].name)) {
			t3fw_entry = &fw_map[i];
		}
	}

	/* if we've got a hit, allocate the memory and populate the pointer */
	if (t3fw_entry) {
		*firmware = fw = kzalloc(sizeof(*fw), GFP_KERNEL);
		if (!fw) {
			printk(KERN_ERR "%s: kmalloc(struct firmware) failed\n",
					__FUNCTION__);
			return -ENOMEM;
		}
		fw->data = t3fw_entry->data;
		fw->size = t3fw_entry->size;
		t3fw_entry->fw = fw;
		printk("firmware: trying embedded firmware since %s unavailable.\n", name);
	}

	return 0;
}
